package io.renren.dao;

import io.renren.entity.DoctorEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.entity.DoctorVOEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-11-07 09:29:40
 */
@Mapper
public interface DoctorDao extends BaseMapper<DoctorEntity> {
    List<DoctorVOEntity> getDoctorList();

    DoctorVOEntity getDoctorById(@Param("doctorid") Integer doctorid);

    List<DoctorVOEntity>  getDoctor();

    DoctorVOEntity getDoctorByUserName(String username);

    int modifyDoctorInfo(@Param("id") Integer id);
}
